const i18NT = window.$app.t

export const WF_STATUS = {
  NEW: '10',
  PUB: '20',
};

export const WF_STATUS_TEXT = {
  [WF_STATUS.NEW]: i18NT('statusCreate'),
  [WF_STATUS.PUB]: i18NT('statusRelease'),
};

export const convertStatus = (arg: string) => {
  return WF_STATUS_TEXT[arg];
};

